//
//  SecondDetailViewController.m
//  Demo
//
//  Created by 郭健 on 2020/9/3.
//  Copyright © 2020 Seacity. All rights reserved.
//

#import "SecondDetailViewController.h"

@interface SecondDetailViewController ()

@property (nonatomic, copy) NSString *remindStr;

@end

@implementation SecondDetailViewController

- (instancetype)initWithDic:(NSDictionary *)dic model:(WGModel *)model array:(NSString *)array{
    self = [super init];
    if (self) {
        self.remindStr = [NSString stringWithFormat:@"dic:%@\n-->model.name:%@\n-->model.age:%ld\n-->array:%@", dic, model.name, (long)model.age, array];
    }
    return self;
}


- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"只有initWith方式传值";
    self.view.backgroundColor = [UIColor whiteColor];
    
    NSLog(@"------%@",self.remindStr);
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
